<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户列表</title>
</head>
<body>
	<table border="1" align="center" style="border-collapse: collapse;">
		<thead>
			<tr>
				<th>用户编号</th>
				<th>用户名称</th>
				<th>用户密码</th>
				<th>用户生日</th>
				<th>用户地址</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator var="user">
				<tr>
					<td><s:property value="#user.id"/></td>
					<td><s:property value="#user.userName"/></td>
					<td><s:property value="#user.passWord"/></td>
					<td><s:date name="#user.birthday" format="yyyy-MM-dd HH:mm:ss"/></td>
					<td><s:property value="#user.address"/></td>
				</tr>
			</s:iterator>
		</tbody>
	</table>
</body>
</html>